<template>
    <el-card class="box-card header_wrapper">
        <div class="header_container">
            <!-- <p class="type">会员专区</p> -->
            <div class="station">
                <img src="https://rs.dance365.com/default_head@3x.png" class="mage">
                <span class="colunm">
                    <div class="colunm-a">
                        <p style="font-size: 16px;margin-top: 10px">1339079_M99S <span class="stylef">LV1</span></p>
                        <p style="color: #f93684;font-size: 12px;margin-top: 5px;">开通会员尊享10大特权</p>
                    </div>
                    <div class="colunm-b" >
                        <img src="https://rs.dance365.com/teach_video_free.png" style="width:58px;height: 58px;">
                        <p style="width: 180px;margin-left: 30px;">以下<span style="color:#f93684">{{ disc.total }}</span>个会员专区课程全部免费学习</p>
                    </div>
                    <div class="colunm-b" >
                        <img src="	https://rs.dance365.com/member_preferential.png" style="width:58px;height: 58px;">
                        <p style="width: 180px;margin-left: 30px;">购买非会员专区课程可获会员立减优惠</p>
                    </div>
                </span>
                <span style="margin-left: 80px;">
                    <router-link to="/center">
                        <el-button type="danger" color="#f93684" round><span style="font-size: 12px;">
                        立即开通</span></el-button>
                    </router-link>
                    
                    <div style="color: #7d8090;margin-top: 10px;">查看/开通 ></div>
                </span>
            </div>

        </div>
    </el-card>
</template>

<script setup>
import pinia from "@/store/index";
import {discStore} from "@/store/modules/disc.js";
const disc = discStore(pinia)
</script>

<style scoped lang="less">
    .header_container {
        padding: 30px;
        background-color: rgb(255, 255, 255);
        width: 1200px;
        display: flex;
        align-items: center;
        column-span: all;
        

    }
    .type {
        font-size: 16px;
    }
    .stylef {
        background-color: #ff43d0;
        color: #fff;
        border-radius: 20%;
        margin-left: 3px;
        
    }
    

    .station {
        display: flex;
        justify-content: center;
        align-items: center;
        .mage {
            width: 50px;
            height: 50px;
            margin-right: 10px;
            border-radius: 50%;
            
        }

        .colunm {
            display: flex;
            align-items: center;

            .colunm-a {
                width: 220px;
                height:65px;
                border-right: 1px solid #dee2e6;
            }

            .colunm-b {
                display: flex;
                font-size: 16px;
                align-items: center;
                justify-content: center;
                margin-left: 100px;
            }
        }
    
    
    }
</style>

